package com.jiang.hystrix.service;

import org.springframework.stereotype.Component;

/**
 * @Author: Jiang
 * @CreateTime: 2022-08-02  23:52
 * @Description: TODO
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{

    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务调用失败，提示来自：cloud-consumer-feign-order80 --- paymentInfo_OK" + id;
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务调用失败，提示来自：cloud-consumer-feign-order80 --- paymentInfo_TimeOut" + id;
    }

}
